<!doctype html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <title>登录页</title>
</head>
<body>
<div>
    <div><span>昵称</span> <input id="username"/></div>
    <div>
        <button onclick="onVideoConferencing()">视频会议</button>
        <button>去直播</button>
        <button>去观看</button>
    </div>
</div>
</body>

<script type="text/javascript">
    /**
     * 跳转页面
     */
    function onVideoConferencing() {
        const username = document.getElementById('username').value;
        window.localStorage.setItem("username", username);
        window.location.href = "client.html";
    }
</script>
</html>